package com.feiyu.entity;

import com.feiyu.util.StringUtil;

/**
 * @author nanshouxiao@teacher.com.cn
 * @date 2018-08-27 10:49
 */
public class BaseTableInfo {
    /**
     * 表名
     */
    private String tableName;
    /**
     * 表中文名
     */
    private String tableComment;

    /**
     * 主键列名称
     */
    private String primaryColumnName;
    /**
     * 主键名称
     */
    private String primaryJavaName;
    /**
     * 主键java类型
     */
    private String primaryJavaType;
    /**
     * 主键jdbc类型
     */
    private String primaryDataType;

    /**
     * 类名
     */
    private String className;

    /**
     * 是否自增
     */
    private boolean primaryIsAutoIncrement;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public String getPrimaryColumnName() {
        return primaryColumnName;
    }

    public void setPrimaryColumnName(String primaryColumnName) {
        this.primaryColumnName = primaryColumnName;
    }

    public String getPrimaryJavaName() {
        return primaryJavaName;
    }

    public void setPrimaryJavaName(String primaryJavaName) {
        this.primaryJavaName = primaryJavaName;
    }

    public String getPrimaryJavaType() {
        return primaryJavaType;
    }

    public void setPrimaryJavaType(String primaryJavaType) {
        this.primaryJavaType = primaryJavaType;
    }

    public String getPrimaryDataType() {
        return primaryDataType;
    }

    public void setPrimaryDataType(String primaryDataType) {
        this.primaryDataType = primaryDataType;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public boolean isPrimaryIsAutoIncrement() {
        return primaryIsAutoIncrement;
    }

    public void setPrimaryIsAutoIncrement(boolean primaryIsAutoIncrement) {
        this.primaryIsAutoIncrement = primaryIsAutoIncrement;
    }
}
